﻿using System;
using System.Runtime.InteropServices;
using System.Text;

namespace Devv.FreshTracker
{
	public class NativeMethods
	{
		#region Native API calls

		[DllImport("User32.dll")]
		internal static extern bool ReleaseCapture();
		[DllImport("User32.dll")]
		internal static extern int SendMessage(IntPtr hWnd, Int32 Msg, Int32 wParam, Int32 lParam);
		[DllImport("user32.dll")]
		internal static extern IntPtr GetForegroundWindow();
		[DllImport("user32.dll")]
		internal static extern int GetWindowText(IntPtr hWnd, StringBuilder text, Int32 count);

		#endregion
	}
}